
import { defineStore } from 'pinia'
import { ref } from 'vue'
export const UseTypestore = defineStore('useType', () => {
  const whichType = ref(0)
  const setWhichType = (val: number) => {
    whichType.value = val
  }
  const type = ref(0)
  const setType = (val: number) => {
    type.value = val
  }
  return {
    whichType,
    setWhichType,
    type,
    setType
  }
})
